home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / hobby / fabr301.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1994-09-11  |  2KB  |  83 lines

  1. @Echo off
  2. Cls
  3. Echo 
  4.  
  5.  
  6.  
  7.  
  8.                ---**  Installation program for FABRIC  **---
  9. If not exist fabric.exe goto noexe
  10. If not exist fabric.doc goto nodoc
  11. If not exist designs\nul goto dirnotexist
  12. Goto dircreOK
  13.  
  14. :noexe
  15. Echo Error: The executable file FABRIC.EXE is missing.
  16. Goto end
  17.  
  18. :nodoc
  19. Echo Error: The manual file FABRIC.DOC is missing.
  20. Goto end
  21.  
  22. :dirnotexist
  23. Echo 
  24.  
  25. This program should be run from the directory where you intend to keep FABRIC.
  26. Echo 
  27.  
  28.  
  29.  
  30. Subdirectory DESIGNS now will be created under the current directory.
  31. Echo Press Ctrl-C to cancel.
  32.  
  33.  
  34. Pause
  35. Md designs
  36. If exist designs\nul goto dircreOK
  37. Echo 
  38. Error: Could not create subdirectory DESIGNS.
  39. Goto end
  40.  
  41. :dircreOK
  42. If exist demo1v.fab goto demintdir
  43. Echo 
  44. Warning: The DEMO?V.FAB files appear to be missing from the current directory.
  45. Echo Press Ctrl-C to abort installation.
  46. Pause
  47.  
  48. :demintdir
  49. Copy *.FAB designs
  50. If exist designs\demo1v.fab goto delthefabs
  51. Echo 
  52. Error: The DEMO?V.FAB files did not copy to subdirectory DESIGNS.
  53. Echo Installation aborted.
  54. Goto end
  55.  
  56. :delthefabs
  57. Del *.fab
  58.  
  59. :OK
  60. Echo 
  61. Installation complete.
  62. If exist fabr301.zip goto removearc
  63. If exist fabr301.lzh goto removearc
  64. If exist fabr301.zoo goto removearc
  65. If exist fabr301.pak goto removearc
  66. If exist fabr301.arc goto removearc
  67. If not exist fabr301.exe goto noremovearc
  68.  
  69. :removearc
  70. Echo If this is a hard disk, to save disk space it is recommended to delete the
  71. Echo archived distribution file. Save the distribution file on a floppy for
  72. Echo backup, and to distribute FABRIC to your friends.
  73. Echo The distribution file is listed below:
  74. Dir fabr301.*
  75.  
  76. :noremovearc
  77. Echo 
  78. For a test run of FABRIC, type DEMO.
  79.  
  80. :end
  81. 
  82.  
  83.